﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace BHXJDOTNET
{
    public class Win32
    {
        //[DllImport("gdi32.dll")]
        //public static extern int CreateRoundRectRgn(int x1, int y1, int x2, int y2, int x3, int y3);

        //[DllImport("user32.dll")]
        //public static extern int SetWindowRgn(IntPtr hwnd, int hRgn, Boolean bRedraw);

        //[DllImport("gdi32.dll", EntryPoint = "DeleteObject", CharSet = CharSet.Ansi)]
        //public static extern int DeleteObject(int hObject);

        public const int HTCAPTION = 2;
        public const int HTLEFT = 10;
        public const int HTRIGHT = 11;
        public const int HTTOP = 12;
        public const int HTTOPLEFT = 13;
        public const int HTTOPRIGHT = 14;
        public const int HTBOTTOM = 15;
        public const int HTBOTTOMLEFT = 16;
        public const int HTBOTTOMRIGHT = 17;
        public const int HTBORDER = 18;
        public const int HTCLOSE = 20;
        public const int HTHELP = 21;

        public const int WM_NCHITTEST = 0x0084;
    }
}
